@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
body {
    height: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

label {
    font-weight: 700;
}

html {
    height: 100%;
    box-sizing: border-box;
}

#app {
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.no-padding {
    padding: 0px !important;
}

.padding-content {
    padding: 4px 0;
}

a:focus,
a:active {
    outline: none;
}

a,
a:focus,
a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

div:focus {
    outline: none;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.pr-5 {
    padding-right: 5px;
}

.pl-5 {
    padding-left: 5px;
}

.mb-5 {
    margin-bottom: 5px;
}

.mr-5 {
    margin-right: 5px;
}

.mr-10 {
    margin-right: 10px;
}

.fz16 {
    font-size: 16px;
}

.block {
    display: block;
}

.pointer {
    cursor: pointer;
}

.inlineBlock {
    display: block;
}

.clearfix {
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }
}

aside {
    background: #eef1f6;
    padding: 8px 24px;
    margin-bottom: 20px;
    border-radius: 2px;
    display: block;
    line-height: 32px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    color: #2c3e50;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    a {
        color: #337ab7;
        cursor: pointer;
        &:hover {
            color: rgb(32, 160, 255);
        }
    }
}

//main-container全局样式
.app-container {
    padding: 16px;
    margin: 16px;
    background: white;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}

.components-container {
    margin: 30px 50px;
    position: relative;
}

.pagination-container {
    text-align: right;
    margin-top: 20px;
    margin-left: -10px;
    margin-right: -10px;
    //如果不喜欢页数大小选择在左侧去掉并调整上面的margin即可
    .el-pagination__sizes {
        float: left;
    }
}

.text-center {
    text-align: center
}

.sub-navbar {
    height: 50px;
    line-height: 50px;
    position: relative;
    width: 100%;
    text-align: right;
    padding-right: 20px;
    transition: 600ms ease position;
    background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
    .subtitle {
        font-size: 20px;
        color: #fff;
    }
    &.draft {
        background: #d0d0d0;
    }
    &.deleted {
        background: #d0d0d0;
    }
}

.link-type,
.link-type:focus {
    color: #337ab7;
    cursor: pointer;
    &:hover {
        color: rgb(32, 160, 255);
    }
}

.filter-container {
    padding-bottom: 24px;
    border-bottom: 1px solid #DEDEDE;
    text-align: left;
    .select {
        width: 150px !important;
    }
    .select250 {
        width: 250px !important;
    }
    .input-with-select {
        width: 300px !important;
        margin-right: 5px;
        // margin-bottom: 15px;
    }
    .filter-item {
        display: inline-block;
        margin-left: 5px;
        // vertical-align: middle;
    }
    .form-search-input {
        width: 200px;
        margin-right: 5px;
    }
    .reset,
    .search,
    .multi-delete {
        padding-left: 10px;
        padding-right: 10px;
    }
}

//refine vue-multiselect plugin
.multiselect {
    line-height: 16px;
}

.multiselect--active {
    z-index: 1000 !important;
}

.handle-cell .cell {
    text-align: center;
}

.handle-cell .cell button {
    font-size: 12px;
    padding: 7px 10px;
}

.el-table th {
    color: #646464;
    background-color: #fafafa;
}

//文字长度超过一行隐藏
.text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

//文字长度超过2行隐藏
.text-ellipsis-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.action-group {
    margin-bottom: 16px;
}

.underLine {
    width: 100%;
    height: 1px;
    background-color: #BABABA;
    clear: both;
    margin-bottom: 10px;
}

// 编辑按钮
.edit_style {
    color: #469BFF;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 5px;
}

// 操作按钮
.operate_style {
    color: #469BFF;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 5px;
}

// 删除按钮
.delete_style {
    color: #FF4646;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 5px;
}

.pointer {
    cursor: pointer;
}

.blue {
    color: #469BFF;
}

// 启用
.enable_style {
    color: #4656FF;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 5px;
}

//禁用
.disable_style {
    color: #FF4646;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 5px;
}

// 分页列表
.pagination_box {
    text-align: right;
    margin-top: 10px;
}

.header_title_box {
    height: 44px;
    // line-height: 44px;
    background: #F2F2F2;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    h2 {
        padding: 0 20px;
        font-size: 18px;
        font-weight: 500;
        color: #000000;
    }
}

.operation_button_box {
    margin: 10px 0 10px 0;
}

// 一行三个
.dialog-form-expand {
    font-size: 0;
}

.dialog-form-expand .el-form-item {
    margin-right: 0;
    margin-bottom: 20px;
    width: 30%;
}

// 一行两个
.dialog-form-expand2 {
    font-size: 0;
}

.dialog-form-expand2 .el-form-item {
    margin-right: 0;
    margin-bottom: 20px;
    width: 45%;
}

.dialog-form-expand3 .el-form-item {
    margin-right: 0;
    margin-top: 22px;
}

.mlr50 {
    margin: 0 30px;
}

.mtb {
    margin: 10px 0;
}

.footer-center {
    margin: 50px auto;
    text-align: center;
    button {
        margin: 0 50px;
    }
}

.dialog-footer-center {
    text-align: center;
    margin: 10px 50px;
}

.inline-form-box {
    .el-form-item__label {
        color: #646464 !important;
        font-size: 12px !important;
    }
}

.mt25 {
    margin-top: 25px;
}

.mb25 {
    margin-bottom: 25px;
}

.app-wrapper .ml0 {
    margin-left: 0;
}

.app-wrapper .ml10 {
    margin-left: 10px;
}

.app-container .mt22 {
    margin-top: 22px;
}

.app-container .mr64 {
    margin-right: 64px;
}

.app-container .mr16 {
    margin-right: 16px;
}

.app-container .mb16 {
    margin-bottom: 16px;
}

.mb24 {
    margin-bottom: 24px;
}

.mb10 {
    margin-bottom: 10px;
}

.app-container .mb0 {
    margin-bottom: 0;
}

.mr163 {
    margin-left: 163px !important;
}

.cursor_auto {
    cursor: auto;
}

.wfull {
    width: 100%;
}

// 常规
.default_style {
    color: #333;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 5px;
}

.el_form_item_mar0.el-form-item {
    margin: 0;
}

.lh40 {
    line-height: 40px;
}

.tac {
    text-align: center;
}

.tar {
    text-align: right;
}

.defalutPage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 225px;
    img {
        width: 146px;
        height: 95px;
    }
    p {
        font-size: 16px;
        font-weight: 400;
        color: #aaaaaa;
        margin-top: 10px;
    }
}

.green_style {
    color: #85ce61;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 5px;
}

.tal {
    text-align: left;
}

.app-container.el-card {
    padding: 0;
}

.el-input-number.tal .el-input__inner {
    text-align: left;
}

.activeOpen {
    overflow: hidden;
}

.activeClose {
    max-height: 666px !important;
}

.active {
    max-height: 66px;
    transition: max-height .45s;
}

.select_button_box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 10px 0;
}

.select_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.filter-selection {
    align-items: center;
    flex-wrap: wrap;
    display: flex;
}

.minwidth100 {
    min-width: 100px;
    max-width: 150px;
}

.scroll-container .el-scrollbar__wrap {
    height: 60px !important;
}

.mr5 {
    margin-right: 10px;
}

.line_style {
    height: 1px;
    width: 100%;
    display: block;
    color: #f1f1f1;
    background: #dcdfe6;
    margin: 5px 0;
}
.el-select-dropdown .selected{
    background-color: #e2e4e6 !important;
}
.el-table .success-row {
    background: rgb(217, 225, 242);
    // background: rgb(219, 219, 219);
    // background-color: #b3ef91;
}